/**
 * 
 */
package com.volatileengine.platform;

import java.util.List;

import com.volatileengine.material.shader.ShaderProgram;
import com.volatileengine.material.shader.variable.ShaderVariable;

/**
 * @author Ahmed
 * 
 */
public class ReadAttributesReadCommand extends ReadCommand<List<ShaderVariable<?>>> {

	private ShaderProgram shaderProgram;

	public ReadAttributesReadCommand(ShaderProgram prog) {
		shaderProgram = prog;
	}

	@Override
	public void execute(GPU executioner) {
		object = executioner.getShaderAttributes(shaderProgram);
	}

}
